package com.xiaohudie.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class People {
    private String name;
    private Integer id;
    public void  feed(Animal animal){
     animal.eat();
   }
}
